import WXP from 'minapp-api-promise'
import requestIntercept  from './requestIntercept';
WXP.intercept('request', requestIntercept)

// index
export function test (data) {
  return WXP.request({
    method:'get',
    url: '/index/test',
    data: {...data}
  })
}